package com.cnap.multiclouldmgmt.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 用户管理系统配置类
 *
 * @author xc
 **/
@Configuration
public class UserSysConfig {

    //用户url
    @Value("${userSys.url}")
    private String url;

    //用户secret
    @Value("${userSys.secret}")
    private String secret;

    /**
     * get
     *
     * @return Url
     */
    public String getUrl() {
        return url;
    }

    /**
     * set
     *
     * @param url url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * get
     *
     * @return Secret
     */
    public String getSecret() {
        return secret;
    }

    /**
     * set
     *
     * @param secret secret
     */
    public void setSecret(String secret) {
        this.secret = secret;
    }
}
